﻿
using System.Collections.Generic;
using TianYu.Core.DataBase;
using TianYu.CMS.Domain.DomainModel;
using TianYu.CMS.Domain.ViewModel;
using System.Threading.Tasks;

namespace TianYu.CMS.Service
{
    public interface ISysMenuService : IBaseRepository<SysMenu>
    {
        /// <summary>
        /// 查询用户菜单
        /// </summary>
        /// <param name="userGuid"></param>
        /// <returns></returns>
        Task<List<SysMenuViewModel>> FindUserMenu(string userGuid);

        Task<int> FindMaxCode(int parentId);
    }
}
